//
// Created by RandBII on 2020/12/24.
//

#ifndef FFMPEGFORANDROID_AUDIORENDER_H
#define FFMPEGFORANDROID_AUDIORENDER_H

#include <stdint.h>

class AudioRender {
public:
    virtual ~AudioRender() {}

    virtual void Init() = 0;

    virtual void ClearAudioCache() = 0;

    virtual void RenderAudioFrame(uint8_t *pData, int dataSize) = 0;

    virtual void UnInit() = 0;
};


#endif //FFMPEGFORANDROID_AUDIORENDER_H
